﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LuckyDraw.WinUI
{
	//抽奖策略。
	public class Strategy
	{
		public const string CreateTable_SQL = @"create table Strategy(Id integer,Name varchar(50),Number integer)";

		public const string SelectStrategy_SQL = "select * from Strategy";

		public const string InsertStrategy_SQL = "insert into Strategy(Id, Name, Number) values({0},'{1}',{2})";

		public const string UpdateStrategy_SQL = "update Strategy set Name = '{1}', Number = {2}  where Id = {0}";

		public int Id
		{
			get;
			set;
		}

		public string Name
		{
			get;
			set;
		}

		public int Number
		{
			get;
			set;
		}
	}
}
